home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Emulators / v2600 / Source.lha / Source / keyboard.h < prev    next >
C/C++ Source or Header  |  1997-04-24  |  943b  |  44 lines

  1. /*****************************************************************************
  2.  
  3.    This file is part of x2600, the Atari 2600 Emulator
  4.    ===================================================
  5.    
  6.    Copyright 1996 Alex Hornby. For contributions see the file CREDITS.
  7.  
  8.    This software is distributed under the terms of the GNU General Public
  9.    License. This is free software with ABSOLUTELY NO WARRANTY.
  10.    
  11.    See the file COPYING for details.
  12.    
  13.    $Id: keyboard.h,v 1.4 1996/08/26 15:05:03 ahornby Exp $
  14. ******************************************************************************/
  15.  
  16. /*
  17.   Keyboard prototypes.
  18.   */
  19.  
  20. #ifndef KEYBOARD_H
  21. #define KEYBOARD_H
  22.  
  23. enum control {STICK, PADDLE, KEYPAD};
  24.  
  25. int mouse_position(void);
  26.  
  27. int mouse_button(void);
  28.  
  29. void read_trigger(void);
  30.  
  31. void read_stick(void);
  32.  
  33. void read_keypad(int pad);
  34.  
  35. void read_console(void);
  36.  
  37. void init_keyboard(void);
  38.  
  39. void close_keyboard(void);
  40.  
  41. void read_keyboard(void);
  42.  
  43. #endif
  44.